<div class="form-group" {guanlians}>
					<label class="col-xs-12 col-sm-3 col-md-2 right-label">{{check_show_lang('{title}','{en_title}')}}</label>
					<div class="col-xs-12 col-sm-8 col-lg-9" ng-init="edit_{name}_year='1980';edit_{name}_month='1';">
						<div  class="row row-fix tpl-district-container">
							<div class="col-xs-12 col-sm-3 col-md-3 col-lg-3">
								<select ng-model="edit_{name}_year" id="month_select_{name}_year" class="form-control" ng-change="func.set_month({tovalue},'{name}')">
								<option ng-repeat="(yk,value) in years" value="{{yk}}" ng-selected="{tovalue}.{name}.indexOf(''+yk+'-')>=0">{{value}}</option>
								</select>
							</div>
							<div class="col-xs-12 col-sm-3 col-md-3 col-lg-3">
								<select ng-model="edit_{name}_month" id="month_select_{name}_month"  class="form-control " ng-change="func.set_month({tovalue},'{name}')">
								
								<option  ng-repeat="(mk,value) in months" value="{{mk}}" ng-selected="{tovalue}.{name}.indexOf('-'+mk)>0">{{value}}</option>
								</select>
							</div>
						</div>
						
					</div>
</div>
<script>

if(!scope.years){
scope.years={};
for(var i=1980;i<2021;i++){
	scope.years[i]=''+i+'年';
}
scope.months={
	'1':'1月',
	'2':'2月',
	'3':'3月',
	'4':'4月',
	'5':'5月',
	'6':'6月',
	'7':'7月',
	'8':'8月',
	'9':'9月',
	'10':'10月',
	'11':'11月',
	'12':'12月'
	};
	scope.func.set_month=function(tovalue,field){
		var year=$('#month_select_'+field+'_year').val();
		var month=$('#month_select_'+field+'_month').val();
		tovalue[field]=year+'-'+month;
	}
}
</script>